package com.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author dengc
 * @since 2023-05-10
 */
@Getter
@Setter
@TableName("ams_health")
@ApiModel(value = "Health对象", description = "")
public class Health implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("宠物id")
    private Integer petsid;

    @ApiModelProperty("宠物名称")
    private String petsname;

    @ApiModelProperty("宠物年龄")
    private String petsage;

    @ApiModelProperty("宠物疾病")
    private String petsdisease;

    @ApiModelProperty("使用药品")
    private String petsdrug;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("治疗时间")
    private Date petstime;


}
